Iowa State Campus
Study Design
Mean
Standard Deviation
mlesion %>%
group_by(tx) %>%
summarise(`Mean Lung Lesion Score` = mean(les),
`Lung Lesion Score sd` = sd(les),
`Median Lung Lesion` = quantile(les, probs=0.5)) %>%
mutate(across(where(is.numeric), round, 2))# A tibble: 2 × 4
tx `Mean Lung Lesion Score` `Lung Lesion Score sd` `Median Lung Lesion`
<fct> <dbl> <dbl> <dbl>
1 con 8.08 8.79 5
2 vac 3.54 4.46 3.45
MF is the relative increase in the probability that a vaccinate’s disease will be less severe than a nonvaccinate’s disease.
MF evaluates the intervention’s effect by the probability a subject will benefit from the intervention
Here’s the code
What if we knew more information about the housing?
Questions?